filechooserwidget: Fix save widgets
authorTimm Bäder <mail@baedert.org>
Thu, 25 May 2017 06:40:00 +0000 (08:40 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:13 +0000 (21:27 -0400)
Now that GtkFileChooserWidget is not a GtkBox anymore, we can't just
gtk_box_pack_start child widgets to it.

gtk/gtkfilechooserwidget.c

index 08c96bb1db369ce9347793aa80c77b5dec986efe..49fd731181bddf2ac1f8e01c842c12e060f322a3 100644 (file)
@@ -2693,8 +2693,8 @@ save_widgets_create (GtkFileChooserWidget *impl)
   gtk_label_set_mnemonic_widget (GTK_LABEL (widget), priv->location_entry);
 
   priv->save_widgets = vbox;
-  gtk_box_pack_start (GTK_BOX (impl), priv->save_widgets);
-  gtk_box_reorder_child (GTK_BOX (impl), priv->save_widgets, 0);
+  gtk_box_pack_start (GTK_BOX (priv->box), priv->save_widgets);
+  gtk_box_reorder_child (GTK_BOX (priv->box), priv->save_widgets, 0);
   gtk_widget_show (priv->save_widgets);
 }